<?php 
    if($this->session->userdata('logged_in') == true )
    { 
        $data=(object)array('output' => $output , 'js_files' => $js_files , 'css_files' => $css_files);
        $this->load->view('includes/header',$title);
        $this->load->view('index',$data);
        $this->load->view('includes/footer');
    }
    else
    {
        redirect('login_controller');
    }
?>
